<!DOCTYPE html>
<!--加入对Thymeleaf模板引擎支持-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Hello</title>
    <link rel="stylesheet" th:href="@{/css/index.css}" />
</head>
<body>
<div th:replace="~{header::header}"></div>
<script th:src="@{/js/jquery.min.js}"></script>
<span>[(${javascript})]</span>
欢迎您，<span th:text="${user}" class="test_name"></span> <input id="test_input" type="text" name="username" />
<span>[(${button})]</span>
<script>
    // document.getElementById("btn").onclick = function(){
    //     alert("这是第1种点击方式");
    // }
</script>
</body>
</html>
